package com.car.rental.vehicle.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("vehicle_type")
public class VehicleType {
    @TableId(type = IdType.AUTO)
    private Long id;                // 主键
    private String name;            // 类型名称
    private String description;     // 类型描述
    private Integer sort;           // 排序号
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
} 